<template>
  <div>
    <!-- 顶部搜索框 -->
    <div class="top">
      <van-icon name="arrow-left" @click="$router.go(-1)"/>
      <div>
        <input type="text" placeholder="请输入关键词" />
        <button>搜索</button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
.top {
  display: flex;
  justify-content: space-around;
  background-color: rgb(243, 240, 240);
    padding-top:10px;

  div{
    border-radius: 5px;

  }
  input {
    height: 30px;
    border: none;
    font-size: 16px;
  }
  button {
    width: 100px;
    height: 30px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    background-color: #fff;
  }
}
</style>